Dampening Mechanical Modes of a Haptic Actuator Using a Delay

ABSTRACT

Described herein is a method for determining a higher order resonance mode frequency of a haptic actuator for an electronic device. The higher order resonance mode frequency may correspond to a frequency in which a mass of the haptic actuator exhibits undesired movement. The movement may cause the mass to collide or otherwise impact an enclosure of the haptic actuator. Once the higher order resonance mode frequency is determined, a delay or a polarity inversion may be added to one or more of a series of input waveforms to suppress or brake the undesired movement.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 15/364,822, filed Nov. 30, 2016, entitled “Dampening Mechanical Modes of a Haptic Actuator Using a Delay,” which claims priority to and the benefit under 35 U.S.C. 119(e) of U.S. Provisional Patent Application Ser. No. 62/316,477, filed Mar. 31, 2016, entitled “Dampening Mechanical Modes of a Haptic Actuator Using a Delay,” and to U.S. Provisional Patent Application Ser. No. 62/326,697, filed Apr. 22, 2016, entitled “Dampening Mechanical Modes of a Haptic Actuator Using a Delay,” the contents of which are incorporated by reference in their entirety as if fully disclosed herein.

FIELD

The described embodiments relate generally to haptic actuators. More specifically, the embodiments described herein are directed to dampening high order modes, such as a higher order resonance mode, of a haptic actuator that may cause a mass of the haptic actuator to impact or collide with an internal surface of the haptic actuator.

BACKGROUND

Some electronic devices use a haptic actuator to provide a haptic output to a user. The haptic output can notify the user of an incoming message, a telephone call, an upcoming event, and so on. The haptic output may include a vibration or movement that is perceived by the user.

In some cases, the haptic actuator is a linear actuator that includes a moveable mass. The moveable mass may be driven at various frequencies to provide different kinds of haptic output. For example, an electromotive force may be applied to the moveable mass which causes the moveable mass to move from a first position to a second position and back again. However, when the moveable mass is driven at regular intervals, the moveable mass may begin to exhibit unwanted movement. For example, the moveable mass may begin to excite a higher order resonance mode which causes the moveable mass to rotate about an axis, rock back and forth in a seesaw type motion, and so on. When the moveable mass moves in such a manner, the moveable mass may impact or otherwise collide with a housing of the haptic actuator thereby causing undesirable noises and possible damage to the electronic device or the haptic actuator.

SUMMARY

Described herein is a method for determining and eliminating or otherwise reducing collisions caused by higher order resonance mode frequencies in a haptic actuator for an electronic device. The higher order resonance mode frequency is a frequency in which a mass of the haptic actuator exhibits undesired movement. For example, as the mass of the haptic actuator oscillates outside of the designed resonant frequency, the mass may approach or reach a higher order resonance mode frequency which causes the mass to rotate about its axis or otherwise rock back and forth within an enclosure of the haptic actuator. The movement may cause the mass to collide or otherwise impact an enclosure of the haptic actuator.

Accordingly, the embodiments described herein are directed to determining a higher order resonance mode frequency of the haptic actuator so that steps may be taken to negate or otherwise cancel the undesired movement of the mass. The higher order resonance mode frequency may be used to determine a delay or offset that may be added to a period between a series of input waveforms. The delay or offset may cancel, suppress, or otherwise inhibit the actuator's response to the higher order resonance mode frequency. In particular, the delay or offset may result in a braking of the mass in a direction that is opposite to the undesired motion that normally occurs at the higher order resonance mode frequency.

Some embodiments described herein are directed to a method for determining a higher order resonance mode frequency of an actuator for an electronic device. In one example, a first series of input waveforms is provided to the actuator to cause the actuator to move. The first series of input waveforms has a first period. A sweep of multiple subsequent series of input waveforms is then provided to the actuator, and each subsequent series of input waveforms has a respective period that belongs to a set of monotonically incremented or decremented values with respect to the first period, but can be played in any order. One or more periods are then determined that result in an actuator mass of the actuator impacting an internal portion of the actuator. A higher order resonance mode frequency of the actuator is then determined using the identified periods.

As an alternative technique for determining the higher order resonance mode frequency, a first series of input waveforms may be provided to the actuator to cause the mass of the actuator to move. Each input waveform of the first series of input waveforms is separated by first period. A second series of input waveforms may also be provided to the actuator to cause the actuator to move. Each input waveform of the second series of input waveforms may be separated by a second period. The second period may be different than the first period. A determination is then made as to whether the first or second series causes an actuator mass of the actuator to impact at least a portion of an enclosure of the actuator. If the first or the second series causes the actuator mass to impact the enclosure, the higher order resonance mode frequency of the actuator may be estimated using the first or second periods. The estimation is made by determining a mean of a set of frequencies associated with either of the periods.

Also described is an electronic device having a processing unit, a memory, an interpreter and a haptic actuator. The memory is operative to store instructions for generating a plurality of input waveforms that drive the haptic actuator. The interpreter is operative to determine whether a delay that is provided between alternating input waveforms should be modified prior to the input waveforms being provided to the haptic actuator. The delay is operative to offset or suppress a higher order resonance mode response motion of an actuator mass of the haptic actuator.

The present disclosure also describes a method for determining a delay that is provided between input waveforms applied as input to a haptic actuator. This method includes determining a higher order resonance mode frequency of the haptic actuator, determining a period of the higher order resonance mode, and determining the delay using the higher order resonance mode frequency and the period of the higher order resonance mode.

Also disclosed is a method for determining whether a polarity inversion is needed between various input waveforms that are applied as input to a haptic actuator. This includes determining a higher order resonance mode frequency of the haptic actuator, determining a period of the higher order resonance mode, and determining the polarity of waveforms using the higher order resonance mode frequency as well as the period of the higher order resonance mode.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosure will be readily understood by the following detailed description in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which:

FIG. 1A illustrates an example electronic device that may utilize a method for providing a delay between input waveforms;

FIG. 1B illustrates another example electronic device that may utilize the method for providing a delay between input waveforms;

FIG. 2 illustrates an example haptic actuator that receives various input waveforms for providing haptic output;

FIG. 3A illustrates an example series of input waveforms that may cause the haptic actuator of FIG. 2 to excite a higher order resonance mode;

FIG. 3B illustrates an example frequency domain representation of the series of input waveforms of FIG. 3A;

FIG. 4A illustrates an example series of input waveforms in which every other input waveform includes a modified delay;

FIG. 4B illustrates an example frequency domain representation of the series of input waveforms of FIG. 4A;

FIG. 5 illustrates a flow chart of a method for determining a higher order resonance mode frequency of a haptic actuator;

FIG. 6 illustrates a flow chart of a method for determining a delay that is interspersed between input waveforms that are applied as input to a haptic actuator;

FIG. 7 illustrates how adding a delay to various input waveforms phase shifts the input waveform with respect to a subsequent input waveform thereby cancelling a higher order resonance mode frequency of a haptic actuator; and

FIG. 8 illustrates example components of an electronic device that may utilize the various embodiments described herein.

DETAILED DESCRIPTION

Reference will now be made in detail to representative embodiments illustrated in the accompanying drawings. It should be understood that the following descriptions are not intended to limit the embodiments to one preferred embodiment. To the contrary, it is intended to cover alternatives, modifications, and equivalents as can be included within the spirit and scope of the described embodiments as defined by the appended claims.

The embodiments described herein are directed to dampening, suppressing, or otherwise canceling various mechanical modes of a haptic actuator. The mechanical mode to be dampened or otherwise eliminated may be a higher order resonance mode of a mass of the haptic actuator. As used herein, the term “higher order resonance mode” may be associated with an undesired movement of the mass of the haptic actuator. In some embodiments, the higher order resonance mode is associated with a frequency that causes the mass of the haptic actuator to rotate about an axis and collide or otherwise impact an internal surface of the haptic actuator.

In one example, the haptic actuator may receive one or more input waveforms as input. An input waveform may include a signal having a time-varying current, voltage, or other electrical input. Each input waveform causes the mass of the haptic actuator to move back and forth within a housing or enclosure of the haptic actuator. As the mass moves, a haptic output in the form of a vibration or other perceptible movement is provided. The haptic output that is provided may be based, at least in part, on the type of input waveform provided. For example, a first input waveform may cause the haptic actuator to provide a first haptic output and a second input waveform may cause the haptic actuator to provide a second haptic output. The haptic output may be used to notify a user of a particular event, such as, for example, an incoming telephone call, an incoming message, a calendared event, a system or application update and so on. The different haptic outputs may be perceived differently by the user and used to differentiate between events or actions associated with an electronic device.

In some embodiments, the electronic device has a predefined library of input waveforms that may be provided to the haptic actuator. The predefined library may include input waveforms that are optimized to provide a specific haptic output. Each input waveform may be associated with a predefined minimum period. The predefined minimum period may provide a safety margin between input waveforms when a series of input waveforms is combined together (e.g., played in sequence by the haptic actuator). The predetermined minimum period helps prevent residual motion from cascading to a subsequent input waveform which could result in excessive mass excitation and cause the mass to impact a housing of the haptic actuator.

In other embodiments, a user may design or otherwise specify one or more input waveforms that are provided to the haptic actuator. In such embodiments, each user-specified input waveform, or series of input waveforms, may have a predefined minimum period.

However, as the haptic actuator receives and plays the various input waveforms, the mass may begin to enter a higher order resonance mode due to off-axis motion of the moving mass. For example, a higher order resonance mode may be created due to the presence of torsional springs or other mechanical elements of the haptic actuator that may impart angular movement to the moving mass while the designed resonance mode causes the moving mass to travel along its transverse axis.

In response to a regularly repeating series of input waveforms, a higher order resonance mode may develop causing the mass to rotate about an axis. The mass may exhibit a seesaw motion, rock back and forth, or exhibit another induced rotational motion. As the mass moves in this manner, it may impact or collide with an enclosure or internal surface of the haptic actuator and/or a housing of the electronic device. When the mass impacts the enclosure, an undesired audible “click” sound may be produced. In addition to producing unwanted sounds, the higher order resonance mode may cause damage the actuator, the actuator mass and/or the electronic device.

In order to prevent or reduce unwanted movement within the haptic actuator, the embodiments described herein are directed to inserting a delay or otherwise modifying a period that is provided between one or more pairs of input waveforms. In some embodiments, the period that is modified or the delay that is inserted is provided between every other input waveform. As the embodiments described herein encompass both a modified period and an inserted or additional delay, the generic term “delay” as used herein encompasses both embodiments.

The delay may be based, at least in part, on the frequency of the undesirable higher order resonance mode of the mass of the actuator. As such, the embodiments described herein may be used across various haptic actuators. Another additional advantage is that the delay can be used to reduce the higher order resonance mode without changing the input waveform or mechanical aspects of the haptic actuator. Thus, the input waveform and/or mechanical aspects of the haptic actuator may be optimized for criteria other than the higher order resonance mode, which may be corrected with a delay.

In some embodiments, the delay is calculated such that a subsequent input waveform cancels, brakes, or otherwise suppresses a motion associated with the higher order resonance mode frequency of the haptic actuator, such as a rolling motion. In some implementations, the electronic device includes an interpreter that determines the delay that is provided between selected input waveforms. For example, the interpreter may apply a delay to at least one input waveform in a series of input waveforms (separated by an input waveform period) to cancel, attenuate, or otherwise brake the higher order resonance mode. The addition of the delay prevents and/or mitigates the accumulation of energy at the higher order resonance mode frequency from one input waveform to the next. Typically the delay is applied to a subsequent input waveform, although this may not be required of all embodiments. The length of an applied delay may be selected such that those frequency components of the delayed input waveform that are approximately at the higher order resonance mode frequency are 180 degrees out of phase with the same frequency components of the previous input waveform. As a result, the out-of-phase frequency components cancel, and the accumulation of energy at the higher order resonance mode frequency is abated. The interpreter may identify or calculate the delay for any number of input waveforms including those that are preprogramed or otherwise stored in a library of the electronic device and those that may be specified by the user.

In additional and/or alternative embodiments, the various delays may be arranged in a binary hierarchy such that various groups of input waveforms have different delays that cancel or negate various higher order resonance mode frequencies or a range of frequencies. For example, a first delay may be provided to a first group of input waveforms, a second delay may be provided to a second group of input waveforms, while a third delay may be provided to a third group of input waveforms. A single type of input waveform, or an individual input waveform, can belong to multiple groups. As such, its total delay may be the sum of the delays from its membership in each of the groups. In some cases, the binary hierarchy of delays results in a suppression of a range of frequencies at or around a higher order resonance mode frequency, which may increase the robustness of the suppression of undesired higher modes. The range of frequencies may also allow for natural or predicable variations in the haptic actuator over time, which may cause the higher order resonance mode of the actuator to shift over time with repeated use.

In some implementations, the polarities of every second input waveform are flipped to cancel energy coupled to one or more higher order resonance mode responses.

These and other embodiments are discussed below with reference to FIGS. 1A-8. However, those skilled in the art will readily appreciate that the detailed description given herein with respect to these Figures is for explanatory purposes only and should not be construed as limiting.

FIG. 1A illustrates an example electronic device 100 that may use or incorporate a haptic actuator that provides haptic output. The haptic actuator may be similar to the haptic actuator 200 shown in FIG. 2. The haptic actuator may be used to provide a haptic output to a user of the electronic device 100. The haptic output may include a vibration or other motion that is tactically perceived by a user touching the electronic device 100.

As shown in FIG. 1A, the electronic device 100 may be a mobile telephone although other electronic devices are contemplated. For example, and as shown in FIG. 1B, the electronic device 100 may be a wearable electronic device. In yet other embodiments, the electronic device 100 may be a laptop computer, a remote control device, a portable music player, a tablet computing device and so on.

The electronic device 100 may include a display 110 that is surrounded by, partially surrounded by, or contained within a housing 120. The display 110 of the electronic device 100 may function as both an input device and an output device. For example, the display 110 may output images, graphics, text, and the like to a user. The display 110 may also act as a touch input device that detects and measures a location of touch input on the display 110. The electronic device 100 may also include one or more force sensors that detect and/or measure an amount of force exerted on the display 110.

The electronic device 100 may also include an input component 130. The input component 130 enables a user to provide additional input to the electronic device 100. The input component 130 may be a button, a switch, a dial, a key, and so on. In some embodiments, and as shown in FIG. 1B, the electronic device 100 may include two different input components. For example a first input component 130 may be a button while the second input component 140 is a rotatable crown. In some embodiments, as each input component is actuated, the haptic actuator may provide haptic output to a user.

As briefly described above, the electronic device 100 may include a haptic actuator. The haptic output may be provided to notify a user of a particular event. In some examples, the event may be an incoming telephone call, an incoming electronic message, an exercise notification, a calendar event and so on. In other examples, a haptic output may be provided in response to a received input.

For example, when the input component 130 is actuated, a first type of haptic output may be provided by the haptic actuator. Likewise, when the second input component 140 is actuated, a second type of haptic output may be provided. In yet another example, when a force and/or a touch input is provided on the display 110 of the electronic device 100 another type of haptic output may be provided to the user.

In order to provide the various types of haptic output described, a processor of the electronic device 100 provides input to the haptic actuator in the form of one or more input waveforms. As described above, each input waveform may be associated with a particular type of haptic output. However, as the mass of the haptic actuator moves in response to the received input waveform, the mass may approach or reach its higher order resonance mode frequency. The haptic actuator may be particularly susceptible to a higher order resonance mode when a series of haptic outputs are produced at a regularly repeating interval. As discussed above, the higher order resonance mode frequency may cause the mass to exhibit undesired movement resulting in an audible sound or “click.”

In order to cancel or otherwise suppress the higher order resonance mode of the mass, an interpreter associated with the electronic device 100 may analyze the input waveforms and determine an amount of delay (e.g., a predetermined delay) that is to be provided between the various input waveforms, based on the type and/or the amount of input waveforms. The interpreter then determines whether the delays are to be adjusted. For example, the interpreter may determine whether a modification is to be made to the predetermined or existing delay, whether a new delay is to be calculated, appended to the predetermined delay or otherwise inserted between the input waveforms, or whether the predetermined delay is to be replaced with a new delay. If so, the adjusted delays may be provided between selected pairs of input waveforms. The adjusted delay causes a phase shift of the input waveform. In particular, the length of a delay applied may be selected such that the frequency components of the delayed input waveform that are approximately equal to or at the higher order resonance mode frequency are 180 degrees out of phase with the same frequency components of the previous input waveform. As a result, the out-of-phase frequency components cancel, and the accumulation of energy at the higher order resonance mode frequency may be reduced, suppressed, or canceled.

FIG. 2 illustrates a perspective view of a haptic actuator 200. The haptic actuator 200 may be used to provide haptic output to a user of an electronic device, such as, for example, the electronic device 100 shown above with respect to FIGS. 1A-1B. Although not shown, the haptic actuator 200 may include a case or a housing that encloses or otherwise surrounds the components of the haptic actuator 200.

In some embodiments, the haptic actuator 200 is a linear actuator although the methods described herein may be used with various other types of haptic actuators. The haptic actuator 200 may include a coil 210 that encircles a mass 220. In some embodiments, the mass 220 is a magnet array. The haptic actuator 200 may also include a frame 230. The frame 230 may be part of the mass 220 but this is not required.

The mass 220 moves in response to a current associated with a received input waveform. More specifically, the coil 210 may be energized by transmitting a current associated with the input waveform along the length of a wire forming the coil 210.

When the coil 210 is energized, the mass 220 slides along a shaft 240 in one direction, or in the opposite direction (shown by arrow 260), depending on the polarity of the magnetic field emanating from the coil 210. For example, the direction of the current flow received by the coil 210 determines the direction of the magnetic flux emanating from the coil 210. The magnetic flux interacts with the mass 220 and causes the mass 220 to move back and forth along the shaft 240.

However, as the mass 220 moves along the shaft 240, it may begin to rotate (illustrated by arrows 270) about its axis (shown by lines A-A). FIG. 2 depicts an example rolling motion (illustrated by arrows 270); however other rotational motion (e.g., rocking, pitching, and yaw-rotation) may also occur.

The harmonics of the transversal mode of the haptic actuator 200 may be associated with or otherwise coupled to the higher order resonance mode of the haptic actuator 200 that causes the mass 220 to rock or otherwise exhibit undesired movement. In some cases, the resonant frequency of the mass 220 may be close to, or otherwise overlap, its higher order resonance mode frequency. For example, in some embodiments, the resonant frequency of the mass 220 may be approximately 160 Hz. However, the resonant frequency of a higher order resonance mode of mass 220 may be approximately 170 Hz to approximately 190 Hz.

In some implementations, the rotation of the mass 220 may be caused by contact with the springs 250 or other elements of the actuator 200. In some embodiments, the spring mechanisms 250 may be beehive springs although other spring mechanisms are contemplated. The beehive or coil springs may induce a small rotational motion in response to compression and release. As the mass 220 contacts the spring mechanisms 250 in a repeated fashion, the small rotation may build into a larger rotational or rolling movement, particularly if the contact is repeated at a particular frequency. The rotation of the mass 220 may also be caused by an imbalance in the system, such as an unbalanced mass, off-center bearing, or other asymmetry.

Regardless of the cause, as the mass 220 moves in response to a series of input waveforms, the mass 220 may begin to rotate about the shaft 240. As it rotates, the mass 220 may contact an interior surface of the actuator 200 including, for example, a surface of the enclosure or housing of the haptic actuator 200. If the mass 220 contacts an interior surface, it may cause an undesired audible output, such as a click noise. The contact may also damage the mass 220 and/or other components of the haptic actuator 200.

Alternating Phase Shift

For example and as shown in FIG. 3A, a series of input waveforms 300 may be provided to a haptic actuator (e.g., haptic actuator 200). Each input waveform may cause the haptic actuator to produce a specific type of haptic output.

In addition, each of the input waveforms 300 may be associated with a particular period (represented by the dotted vertical line). For example, a first input waveform 310 may have a first period; the second input waveform 320 may have a second period, and so on. In some embodiments, the first period is equivalent to the second period. As each input waveform in the series of input waveforms 300 is provided to the haptic actuator, lateral motion of the mass of the haptic actuator is induced. As more input waveforms are provided to the haptic actuator, a rolling motion of the mass may begin to develop.

For example, FIG. 3B illustrates a continuous frequency domain representation 330 of the input waveforms of FIG. 3A. In this example, various frequency components of an input waveform (e.g., first input waveform 310 and second input waveform 320 of FIG. 3A) are represented by the arrows 340. As shown, the various frequency components of the input waveforms may encompass or otherwise coincide with a higher order resonance mode frequency response (represented by arrow 350) of the haptic actuator. As such, as the mass of the haptic actuator is driven by the input waveform at or near the higher order resonance mode frequency, it may also begin to exhibit undesired vibrations at or near the higher order resonance mode frequency.

In order to cancel, brake or otherwise suppress the higher order resonance mode response, an interpreter associated with the haptic actuator 200 may insert a delay (or modify an existing delay) between the various input waveforms. The insertion of the delay may be done automatically. The delay may cause a subsequent input waveform, relative to a previous input waveform, to have respective frequency components that are phase shifted by approximately 180 degrees for those frequencies at or near the higher order resonance mode frequency. In some implementations, the delay may effectively create a band-stop filter to attenuate the higher order resonance mode frequency of the mass 220.

FIG. 4A illustrates a series of input waveforms 400 in which a delay has been added and/or modified between every other input waveform. For example, a period between a first input waveform 410 and the second input waveform 420 can have an added delay d. A subsequent period between a second input waveform 420 and a subsequent third input waveform 425 may not have an additional or modified delay. The delay d may cause the second input waveform 420 to have, for one or more frequencies at or near the higher order resonance mode frequency, frequency components that are phase shifted with respect to the first input waveform 410, which may reduce energy introduced at the higher order resonance mode frequency by the first input waveform 410. In some cases, the phase shift effectively cancels or suppresses the higher order resonance mode. As will be described in more detail below, the delay may be calculated by an interpreter or other component of the electronic device.

Although a delay has been added, the length of the delay may not be perceptible by the user. For example, a user may not be able to perceive a difference between a series of input waveforms in which no delay has been added and a series of input waveforms in which a delay has been added.

Turning to FIG. 4B, which illustrates an example frequency domain representation 440 of the series of input waveforms of FIG. 4A, the delay acts as a band stop filter to cancel the higher order resonance mode of the haptic actuator. Compared to the frequency domain representation 430 if the delays are not inserted, the notch frequency 450 is designed to coincide with the higher order resonance mode frequency (illustrated as arrow 350 in FIG. 3B).

In some embodiments, the delay may be between approximately 1 ms and approximately 5 ms. In one specific but non-limiting example, the delay may be approximately 2 ms. Although specific examples have been given, the interpreter may determine that various delays may need to be provided between different input waveforms. For example, a first delay may be provided between input waveforms of a first type while a second, different delay may be provided between input waveforms of a second type. In addition, various input waveforms may be grouped together. The interpreter may determine that various delays may need to be provided between the different groupings.

In order to determine the delay that should be provided between input waveforms, the higher order resonance mode frequency may need to be determined. In some embodiments, the higher order resonance mode frequency of the mass 220 may change over the life of the electronic device or it may be dependent on environmental conditions. For example, the higher order resonance mode frequency may change if the electronic device is dropped. In another example, the higher order resonance mode frequency of the mass 220 may change based on an ambient temperature surrounding the electronic device and/or an operating temperature of the electronic device.

Accordingly, FIG. 5 illustrates a method 500 for determining a higher order resonance mode frequency of a haptic actuator of an electronic device. For example, the method 500 may be used to determine a higher order resonance mode frequency of a mass 220 of the haptic actuator 200 shown and described with respect to FIG. 2. Once the higher order resonance mode frequency is determined, the interpreter of the electronic device may determine the delay that is to be provided with every second input waveform to ensure the second input waveform produces energy at the higher order resonance mode frequency that is phase-shifted by approximately 180 degrees with respect to the first input waveform to counteract the energy of the first input waveform, as described above.

Method 500 begins at operation 510 in which multiple series of input waveforms are provided to the haptic actuator. The multiple series of input waveforms may provide a stepped sweep of different types of regularly repeating motion that may trigger the higher order resonance mode. For example, each series of the multiple series may have a different, fixed period between subsequent input waveforms. The input waveforms may be repeated over a time frame that is sufficient to generate a higher order resonance mode response (if one were to occur).

In one implementation, the multiple series of input waveforms include a first series of input waveforms that cause the actuator to move in accordance with a series of vibratory pulses. The input waveforms of the first series may be separated by a first period. In some embodiments, the first period may be approximately 49 ms to approximately 70 ms although other values may be used. A sweep of multiple subsequent series of waveforms may be provided, each subsequent series of input waveforms having a respective period that is incremented/decremented with respect to the first period. In some embodiments, the respective periods are incremented/decremented by approximately 1 ms to approximately 5 ms, although other values may be used.

Explained another way, in some implementations, a first series of input waveforms having a first period (e.g., 50 ms) is provided to the haptic actuator. Once the first series of input waveforms has been provided to the haptic actuator, a second series of input waveforms having a second period (e.g., 55 ms) is provided to the haptic actuator. A third series of input waveforms having a third period (e.g., 56 ms) may then be provided and so on. This may continue for various periods within the range set forth above. Although a specific range has been given, any range of periods may be used.

In operation 520, a determination is made as to which periods associated with the series of input waveforms induce a higher order resonance mode response. In some embodiments, this determination may be made by identifying whether a particular series of input waveforms having a particular period produces an audible click noise or otherwise causes a peak in an acoustic measurement. Once this determination is made, the identified periods may be stored or otherwise recorded. For purposes of this example, the identified periods may be labeled P1, P2, . . . , PN.

For example, it may be determined that the first series of input waveforms having the first period and the third series of input waveforms having the third period produce a click noise. The click noise produced by the mass may indicate that the higher order resonance mode response has been induced. Each of these periods (e.g., 55 ms and 56 ms) may then be labeled P1, P2 etc. Although the example above lists two periods that provide the click noise, any number of periods may be found and labeled accordingly.

Flow then proceeds to operation 530 in which a determination is made as to which consecutive integer multiples of the values P1, P2, etc. also induce the higher order resonance mode response (e.g., produce the noise). For example, the periods that were found to produce the higher order resonance mode response (e.g., P1, P2, . . . , PN) are converted to a frequency (e.g., 1/P1, 1/P2, . . . , 1/PN). Each of these values is then multiplied by an integer k using the following formula:

e=range {(k+[0,1, . . . ,N−1])*(1/P1,1/P2, . . . ,1/PN)]}

where the symbol “*” represents an element by element multiplication, to produce a set of harmonic frequencies. Although the above equation is specifically disclosed, other formulas may be used to determine which frequencies to test for inducing the higher order resonance mode response.

The example given above is for a sweep in which PN is monotonically increasing. However, similar equations can be used for cases where the sweep is reversed to a series of monotonically decreasing PN values. For example, [N−1, N−2, . . . , 1, 0] can be used instead of [0, 1, . . . , N−1].

In another embodiment, the periods PN may be arranged in any order so long as the same order is used when solving for the range. For example, the periods may be arranged in the following order: P3, P1, P2 where P1<P2<P3. However, this same order should be used when solving for the range using the above formula. Thus, the above formula may be represented as:

e=range {(k+[2,0,1])*(1/P3,1/P1,1/P2)]}

Although a specific number of periods in a specific order has been shown and described, any number of periods arranged in any order may be used.

In some embodiments, each of the values may correspond to a single frequency. In such implementations, that frequency will be the higher order resonance mode frequency of the haptic actuator.

In some embodiments, we want to find a value for k such that the range e is minimized. Accordingly, various values for k within a particular range may be used in the equation above. Once a value for k is found that minimizes the range, the mean of the various frequencies that causes the higher order resonance mode (using the k value from above) may be found. For example, the following equation may then be used to estimate the higher order resonance mode frequency of the haptic actuator:

mean {(k+[0,1 . . . N−1])*(1/P1,1/P2, . . . ,1/PN)]}

The example given here is for a sweep where PN is monotonically increasing. However, similar equations can be used for cases where the sweep is reversed to a series of monotonically decreasing PN values. For example, [N−1, N−2, . . . 1, 0] can be used instead of [0, 1, . . . , N−1]. In addition and as described above, the periods PN may be arranged in any order. After determining the periods (or, equivalently, the frequencies) to be used in a sweep, flow proceeds to stage 540.

In stage 540, a sweep of input signals with those periods is applied to the actuator. The response of the actuator to each signal can then be used to determine a frequency of a higher order resonance mode. Once the higher order resonance mode frequency of the haptic actuator has been determined a delay can then be inserted between every other input waveform (or grouping of input waveforms).

FIG. 6 illustrates a method 600 for determining a delay that is provided between input waveforms that are applied as input to a haptic actuator. As discussed above, each input waveform may have a predetermined or predefined delay. As such, the method 600 may be used to determine whether the predefined delay is to be adjusted and, if so, by how much. The delay may be used to ensure that every other input waveform produces energy at a frequency that is phase shifted by approximately 180 degrees with respect to the higher order resonance mode frequency, which may cancel or counteract energy induced by one or more of the previous input waveforms.

Method 600 begins at operation 610 in which a higher order resonance mode frequency of a haptic actuator is determined. The higher order resonance mode frequency may be determined using method 500 described above.

In operation 620, the period of the higher order resonance mode is determined. For example, using the frequency of the higher order resonance mode, the period can be determined by 1/f₀. Then a parameter τ may then be found using the following equation:

τ=1/(2*f ₀),

where f₀ is the higher order resonance mode frequency (e.g., arrow 350 in FIG. 3B) that was determined using, for example, method 500 described above.

Once the value for τ has been determined, flow proceeds to operation 630 and the delay may be calculated. The delay, represented as d in the equation below, may then be calculated using the following equation:

d=τ−mod(P,2*τ).

Once the delay is determined, flow proceeds to operation 640 and the delay is inserted into a series of input waveforms. As described above, the delay may be inserted between every other input waveform. The delay may cause a subsequent input waveform to have at least one frequency component that is phase shifted by approximately 180 degrees with respect to the higher order resonance mode frequency f₀. This phase shift may cancel or suppress an accumulation of energy at the higher order resonance mode frequency due to one or more previous input waveforms.

The above concept is further shown in FIG. 7 which represents a series of input waveforms as a number of arrows that are spaced apart at regular intervals. The input waveforms are separated into two different groups. For example, a first subset of input waveforms is separated into a first group 710 while a second series of input waveforms is separated into a second group 720. Each input waveform in the first group 710 includes a period P and delay d (shown as P+d). As every other input waveform is separated into a different group, each input waveform in the first group 710 is separated by 2P as shown. Likewise, each input waveform in the second group 720 is separated by 2P.

Performing a frequency domain transform, such as, for example, the Fourier transform F, on the first group 710 of input waveforms illustrates that the frequency of the first group of input waveforms is ½P. Likewise, a frequency domain transform on the second group 720 of input waveforms also shows that the frequency of the second group 720 of input waveforms has a frequency of ½P, but due to the delay d, each input waveform in the second group 720 is phase shifted in the frequency domain with respect to the first group 710 of input waveforms.

When the first group 710 of input waveforms and the second group 720 of input waveforms are combined, a third group 730 of input waveforms is formed. In the frequency domain, the delay d causes extra components in lower frequencies to be present, but a specific frequency to be canceled (e.g., the higher order resonance mode frequency labeled f₀ and shown by circle 740) is suppressed or effectively canceled.

In some embodiments, the delay described above may cover a single higher order resonance mode frequency or a higher order resonance mode frequency within a particular range (e.g., the delay d may effectively cancel higher order resonance mode responses at frequencies within a range of +/−4 hz of the determined higher order resonance mode frequency). However, a particular haptic actuator may have a number of higher order resonance mode frequencies, as will now be described.

Hierarchical Alternating Phase Shift

In some embodiments, various input waveforms or combinations of input waveforms may have multiple frequency components that each induces a respective higher order resonance mode response. In other cases, the frequency components may change over time, in response to an event (e.g., a drop event) and/or in response to various environmental conditions (e.g., operating temperature, ambient temperature etc.). Accordingly, the stop-band bandwidth may be increased to cover each of the instances described above by inserting respective, possibly different, delays within a sequence of input waveforms. This can effectively create a notch filter having notches (i.e., frequency nulls) at more than one higher order resonance mode frequency.

More specifically, the delays that are inserted between the input waveforms may be determined and arranged in a binary hierarchy. In general, as described below, to insert n notch frequencies, fn, there needs to be at least 2^(n) input waveforms.

As an example, for n=3, and eight waveforms, a delay in a first level of the hierarchy may be applied to every other input waveform such as described above. In some embodiments, the delay in the first level of the binary hierarchy is equivalent to the delay d calculated above. In this example, in which eight input waveforms are provided sequentially to the haptic actuator, the delay d is provided on the second, fourth, sixth and eighth input waveform (e.g., every other input waveform).

In the next level of the binary hierarchy, a second delay is added to a group of every other two consecutive input waveforms. Continuing with the example above, a second delay d2 may be added to every other group of two consecutive input waveforms. Thus, d2 is added to the third input waveform and the fourth input waveform and the seventh input waveform and the eighth input waveform.

In a third level of the binary hierarchy, a third delay may be added to a group of every other four consecutive input waveforms. Continuing with the example above, a third delay d3 may be added to the fifth, sixth, seventh and eighth input waveforms. This process may continue for any 2^(n) input waveforms that are provided to a haptic actuator. The following table further illustrates the above example binary hierarchy:

TABLE 1 Input Waveform Delay 1 0 2 d1 3 d2 4 d1 + d2 5 d3 6 d1 + d3 7 d2 + d3 8 d1 + d2 + d3

For the general case of 2^(n) input waveforms, the example above may also be represented by the following algorithm:

-   -   For n=1:N add dn to 2^(n-1) consecutive input waveforms starting         every 2^(nth) input waveform.

In the above equation, each delay dn may be calculated using the following:

-   -   dn=τn−mod (n*P, 2*τn) where τn=1/(2*fn) (fn is a notch frequency         of the band-stop filter).

Conditional Polarity

In additional and/or alternative embodiments, a higher order resonance mode of a haptic actuator may be suppressed or otherwise reduced by conditionally reversing every second input waveform (e.g., conditionally switching or inverting the polarities of input waveforms). For example, a first input waveform may have a first polarity while a second input waveform may have an opposite polarity. In some embodiments, a pitch of the waveform may be used to determine whether the polarities should be reversed.

In order to determine whether alternating polarities are to be used, or whether uniform polarities are to be used, an integer n is determined that minimizes an absolute value the integer n over a period P minus the higher order resonance mode frequency f₀. This may be represented by the following:

-   -   Find integer n that minimizes |n/P−f₀|

In this particular implementation, the input waveform may be associated with a particular period P and the higher order resonance mode frequency f₀ may be known.

Once this value is determined, a second integer m is found such that the integer m minimizes the absolute value of m plus one-half over the period P minus the higher order resonance mode frequency f₀. This may be represented by the following:

-   -   Find integer m that minimizes |(m+½)/P−f₀|

Once the values have been determined, the values are compared. For example, the comparison may be represented as:

-   -   |n/P−f₀|>|(m+½)/P−f₀|

If |n/P−f₀| is greater than |(m+½)/P−f₀|, meaning that the resulting value of the equation |n/P−f₀| is farther away from the resonant frequency than the resulting value |(m+½)/P−f₀|, the polarities of the input waveforms are not alternated. If however, |n/P− f₀| is less than |(m+½)/P−f₀|, meaning that the resulting value of |n/P− f₀| is closer to the resonant frequency than the resulting value of |(m+½)/P−f₀|, the polarities of the input waveform are alternated such as described above. The implementation described above is provided as one illustrative example and is not intended to be limiting.

FIG. 8 illustrates example components of an electronic device 800 that may use a haptic actuator to provide haptic output such as described herein. As such, the electronic device 800 may also utilize the methods described herein to determine a higher order resonance mode frequency of the haptic actuator and also calculate a delay that is to be provided to every other input waveform that is provided as input to the haptic actuator.

As shown in FIG. 8, the electronic device 800 includes at least one processor 805 or processing unit configured to access a memory 810. The memory 810 may have various instructions, computer programs, or other data stored thereon. The instructions may be configured to cause the processor 805 to perform one or more of the operations or functions described with respect to the electronic device 800. For example, the instructions may be configured to cause the processor 805 to control or coordinate the operation of the display 835, one or more input/output components 815, one or more communication channels 820, one or more sensors 825, a speaker 830, and/or one or more haptic actuators 840. In some embodiments, the memory 810 includes a library of input waveforms that is provided to the haptic actuator 840.

The processor 805 may be implemented as any electronic device capable of processing, receiving, or transmitting data or instructions. For example, the processor 805 can be a microprocessor, a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), or combinations of such devices.

The memory 810 can store electronic data that can be used by the electronic device 800. For example, the memory 810 can store electrical data or content such as, for example, audio and video files, documents and applications, device settings and user preferences, timing and control signals or data for the various modules, data structures or databases, and so on.

The memory 810 may be any type of memory such as random access memory, read-only memory, Flash memory, removable memory, or other types of storage elements, or combinations of such devices.

The electronic device 800 may include various input and output components represented in FIG. 8 as Input/Output 815. Although the input and output components are represented as a single item, the electronic device 800 may include a number of different input components, including buttons, input surfaces, microphones, switches, rotatable crowns, dials and other input mechanisms for accepting user input. The input and output components may include one or more touch sensors and/or force sensors. For example, the display 835 may be comprised of a display stack that includes one or more touch sensors and/or one or more force sensors that enable a user to provide input to the electronic device 800.

The electronic device 800 may also include one or more communication channels 820. These communication channels 820 may include one or more wireless interfaces that provide communications between the processor 805 and an external device or other electronic device. In general, the one or more communication channels 820 may be configured to transmit and receive data and/or signals that may be interpreted by instructions executed on the processor 805. In some cases, the external device is part of an external communication network that is configured to exchange data with other devices. Generally, the wireless interface may include, without limitation, radio frequency, optical, acoustic, and/or magnetic signals and may be configured to operate over a wireless interface or protocol. Example wireless interfaces include radio frequency cellular interfaces, fiber optic interfaces, acoustic interfaces, Bluetooth interfaces, Near Field Communication interfaces, infrared interfaces, USB interfaces, Wi-Fi interfaces, TCP/IP interfaces, network communications interfaces, or any conventional communication interfaces.

The electronic device 800 may also include one or more sensors 825. Although a single representation of a sensor 825 is shown in FIG. 8, the electronic device 800 may have many sensors. These sensors may include resistive sensors, light sensors, capacitive sensors, biometric sensors, temperature sensors, accelerometers, gyroscopes, barometric sensors, moisture sensors, and so on.

One or more acoustic modules or speakers 830 may also be included in the electronic device 800. The speaker 830 may be configured to produce an audible sound or an acoustic signal.

As also shown in FIG. 8, the electronic device 800 may include a haptic actuator 840. The haptic actuator 840 may be any type of haptic actuator such as, for example, the haptic actuator shown and described above with respect to FIG. 2. In other embodiments, the haptic actuator 840 may be any type of rotational haptic device, linear haptic actuator, piezoelectric devices, vibration elements, and so on. The haptic actuator 840 is configured to receive one or more input waveforms such as described above and, as a result, provide punctuated and distinct feedback to a user of the electronic device 800.

The electronic device 800 may also include an internal battery 845. The internal battery 845 may be used to store and provide power to the various components and modules of the electronic device 800 including the haptic actuator 840. The battery 845 may be configured to be charged using a wireless charging system although a wired charging system may also be used.

The electronic device 800 also includes an interpreter 850. The interpreter may be a software block that receives one or more input waveforms and determines a delay that is provided between each input waveform. The interpreter may then adjust these delays using the methods described above. The input waveforms may then be provided to the haptic actuator 840.

In other embodiments, the interpreter 850 is part of the system stack or is part of the firmware of the electronic device 800. In yet other embodiments, the interpreter 850 may be integrated with a remote computing device (e.g., desktop computer, server computer, etc.). The remote computing device may be configured to provide the determined delay to the electronic device 800.

In yet another embodiment, the interpreter 850 may be a hardware timer (e.g., integrated with a driver chip) that imposes a time limit in which input waveforms cannot be provided to the haptic actuator 840.

In yet another embodiment, the interpreter 850 may be omitted or may otherwise take the form of a lookup table. Accordingly, when the higher order resonance mode frequency is determined, the lookup table may have various delays that are to be added between the input waveforms.

The foregoing description, for purposes of explanation, used specific nomenclature to provide a thorough understanding of the described embodiments. However, it will be apparent to one skilled in the art that the specific details are not required in order to practice the described embodiments. Thus, the foregoing descriptions of the specific embodiments described herein are presented for purposes of illustration and description. They are not targeted to be exhaustive or to limit the embodiments to the precise forms disclosed. It will be apparent to one of ordinary skill in the art that many modifications and variations are possible in view of the above teachings. 

1. An electronic device, comprising: an enclosure; a haptic actuator mounted within the enclosure and comprising a movable mass; and a processor configured to apply a series of input waveforms to the haptic actuator, wherein: the applied series of input waveforms moves the movable mass to provide a haptic output; the processor applies a first input waveform and a second input waveform in the series of input waveforms with a delay between the first input waveform and the second input waveform; and the processor configures the delay to reduce unwanted movement of the movable mass.
 2. The electronic device of claim 1, wherein the processor configures the delay to prevent the movable mass from contacting the enclosure.
 3. The electronic device of claim 2, wherein the delay prevents the movable mass from contacting the enclosure by suppressing a motion of the movable mass associated with a higher order resonance mode, the higher order resonance mode distinct from a designed resonance mode of the movable mass.
 4. The electronic device of claim 3, wherein the motion of the movable mass according to the designed resonance mode is along an axis, and the motion of the movable mass associated with a higher order resonance mode is a rotational motion about the axis.
 5. The electronic device of claim 3, wherein the delay causes a frequency component of the second input waveform at the frequency of the higher order resonance mode to suppress a frequency component of the first input waveform at the frequency of the higher order resonance mode.
 6. The electronic device of claim 1, wherein each input waveform in the series of input waveforms occurs during a respective period, each period having the same duration and occurring sequentially.
 7. The electronic device of claim 6, wherein the delay occurs at a beginning of the respective period of the second input waveform.
 8. The electronic device of claim 7, wherein the delay is applied between every other input waveform in the series of input waveforms.
 9. The electronic device of claim 1, wherein the first and second waveforms are selected by the processor from a predefined library stored in a memory of the electronic device.
 10. An electronic device, comprising: a housing; a haptic actuator mounted within the housing and comprising a mass; and a processor configured to apply a series of input waveforms to the haptic actuator, wherein: the applied series of input waveforms moves the mass along an axis to provide a haptic output; the processor applies a first input waveform and a second input waveform in the series of input waveforms with a delay between the first input waveform and the second input waveform; and the processor configures the delay to reduce rotational movement of the mass about the axis.
 11. The electronic device of claim 10, wherein: the applied series of input waveforms moves the mass according to a designed resonance mode, and the processor is configured to determine the series of input waveforms by: receiving at least one frequency corresponding to at least one higher order resonance mode of the haptic actuator; and determining at least one delay to be inserted within the series of input waveforms so that the series of input waveforms has a frequency response having at least one frequency null at the at least one frequency.
 12. The electronic device of claim 11, wherein: the haptic actuator further comprises a spring connected between the housing and the mass; the spring induces the rotational movement of the mass about the axis at the at least one higher order resonance mode; and the at least one delay suppresses the rotational movement of the mass about the axis at the at least one higher order resonance mode.
 13. The electronic device of claim 12, wherein the at least one delay prevents the mass from contacting the housing of the electronic device.
 14. The electronic device of claim 11, wherein: the processor is configured to determine the series of input waveforms by: receiving multiple frequencies corresponding to multiple higher order resonance modes of the haptic actuator; and determining multiple delays to be inserted within the series of input waveforms so that the series of input waveforms has a frequency response having frequency nulls at the multiple frequencies corresponding to the multiple higher order resonance modes of the haptic actuator.
 15. The electronic device of claim 14, wherein the multiple delays are determined according to a binary hierarchy.
 16. A method of operating a haptic actuator within an electronic device, the method comprising: determining a first delay based, at least in part, on a first higher order resonance mode of the haptic actuator; determining a second delay based, at least in part, on a second higher order resonance mode of the haptic actuator; and sequentially applying a first, second, third, and fourth input waveform to the haptic actuator during respective first, second, third, and fourth sequential time periods to cause a mass of the haptic actuator to move according to a designed resonance mode and provide a haptic output, wherein: the designed resonance mode is distinct from the first and second higher order resonance modes; the first delay is inserted at a beginning of the second time period before the second input waveform; the second delay is inserted at a beginning of the third time period before the third input waveform; the first delay and the second delay are inserted at a beginning of the fourth time period before the fourth input waveform; and the first delay and second delay suppress motions of the mass according to the first higher order resonance mode and the second higher order resonance mode.
 17. The method of claim 16, wherein the first, second, third, and fourth sequential time periods have the same duration.
 18. The method of claim 16, wherein the first and second delays are determined so that respective frequency components of the first, second, third, and fourth input waveforms combine to produce a first frequency null at a first frequency associated with the first higher order resonance mode and combine to produce a second frequency null at a second frequency associated with the second higher order resonance mode.
 19. The method of claim 18, further comprising: determining a change in at least one of the first frequency associated with the first higher order resonance mode and the second frequency associated with the second higher order resonance mode; determining an updated first delay and an updated second delay using the determined change; and repeating the sequential application of the first, second, third, and fourth input waveforms to the haptic actuator using the updated first delay instead of the first delay and using the updated second delay instead of the second delay.
 20. The method of claim 16, further comprising selecting the first, second, third, and fourth input waveforms based on the haptic output. 